package org.example.book.dutychain;

import org.example.book.pojo.BusinessLaunch;

import java.util.List;

public abstract class AbstractBusinessHandler {

    // 定义下一个责任链
    public AbstractBusinessHandler nextHandler;

    public boolean hasNextHandler() {
        return this.nextHandler != null;
    }

    public abstract List<BusinessLaunch> processHandler(List<BusinessLaunch> launchList, String targetCitry,
                                                        String targetSex, String targetProduct);
}
